package com.psl.action.delete;

import com.psl.services.work.sell.SellServices;
import org.apache.struts2.ServletActionContext;

import javax.servlet.http.HttpServletRequest;

public class delsell {
    public String execute() {
        HttpServletRequest request = ServletActionContext.getRequest();
        int id = Integer.parseInt(request.getParameter("id"));
        SellServices ss = new SellServices();
        ss.del(id);
        ss.All();
        return "success";
    }
}
